-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
W-13716428 filter events after the queue #591
Conversation
Deployed Timbermill Snapshot JARs version W-13716428-filter-events-on-queue-drain-SNAPSHOT |
Deployed Timbermill Snapshot JARs version W-13716428-filter-events-on-queue-drain-SNAPSHOT |
...ava/timbermill-local/src/main/java/com/datorama/oss/timbermill/common/ElasticsearchUtil.java
Outdated
Show resolved
Hide resolved
...ava/timbermill-local/src/main/java/com/datorama/oss/timbermill/common/ElasticsearchUtil.java
Outdated
Show resolved
Hide resolved
...ava/timbermill-local/src/main/java/com/datorama/oss/timbermill/common/ElasticsearchUtil.java
Outdated
Show resolved
Hide resolved
...ava/timbermill-local/src/main/java/com/datorama/oss/timbermill/common/ElasticsearchUtil.java
Outdated
Show resolved
Hide resolved
...imbermill-server/src/main/java/com/datorama/timbermill/server/service/TimbermillService.java
Outdated
Show resolved
Hide resolved
...imbermill-server/src/main/java/com/datorama/timbermill/server/service/TimbermillService.java
Outdated
Show resolved
Hide resolved
Add log debug
Deployed Timbermill Snapshot JARs version W-13716428-filter-events-on-queue-drain-SNAPSHOT |
Deployed Timbermill Snapshot JARs version W-13716428-filter-events-on-queue-drain-SNAPSHOT |
drainAndIndex(eventsQueue, taskIndexer, maxElement, false, ".*"); | ||
} | ||
|
||
public static void drainAndIndex(BlockingQueue<Event> eventsQueue, TaskIndexer taskIndexer, int maxElement, Boolean skipEventsAtDrainFlag, String notToSkipRegex) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Boolean -> boolean - we can't get NULL here
@@ -346,6 +354,31 @@ public static void drainAndIndex(BlockingQueue<Event> eventsQueue, TaskIndexer t | |||
} | |||
} | |||
|
|||
private static Collection<Event> filterEvents(Collection<Event> unfilteredEvents, Boolean skipEventsAtDrainFlag, String notToSkipRegex) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Boolean -> boolean
Deployed Timbermill Snapshot JARs version W-13716428-filter-events-on-queue-drain-SNAPSHOT |
Deployed Timbermill Snapshot JARs version W-13716428-filter-events-on-queue-drain-SNAPSHOT |
No description provided.